<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
</body>
</html>

<script>
// 注：变量名 不要用 name、status

var names = ['张三', '李四', '王二麻子', '一饼'];

for (var index = 0; index < names.length; index++) {
  console.log(names[index]);
}
</script>